


LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)


include $(CLEAR_VARS)
LOCAL_MODULE := libPPPP_API
LOCAL_SRC_FILES := libPPPP_API.a
include $(PREBUILT_STATIC_LIBRARY)


include $(CLEAR_VARS)
LOCAL_MODULE := libffmpeg
LOCAL_SRC_FILES := libffmpeg.so
include $(PREBUILT_SHARED_LIBRARY)

include $(CLEAR_VARS)
# Here we give our module name and sourcefile(s)
LOCAL_MODULE  := object_jni
LOCAL_SRC_FILES := object_jni.cpp \
DeviceManagement.cpp \
Device.cpp \
CircleBuf.cpp \
CgiPacket.cpp \
Adpcm.cpp \
VideoPlayer.cpp \
H264Decoder.cpp


# static libraries.
LOCAL_STATIC_LIBRARIES := libPPPP_API

# shared libraries
LOCAL_SHARED_LIBRARIES := libffmpeg
#LOCAL_SHARED_LIBRARIES := \
		libandroid_runtime \
		libnativehelper \
		libcutils \
		libutils \
		libffmpeg


LOCAL_LDLIBS    := -llog

#this is a static library (.a)
#include $(BUILD_STATIC_LIBRARY)

#this is a shared library (.so)
include $(BUILD_SHARED_LIBRARY)